package zhongbo.java.air.dictionary.service;

import zhongbo.java.air.common.vo.PageVo;
import zhongbo.java.air.common.exception.MyException;
import zhongbo.java.air.dictionary.model.AirCraft;
import zhongbo.java.air.dictionary.model.AirPort;

public interface AirPortService {

    AirPort addAirPort(AirPort airPort)throws MyException;
    String deleteAirPort(String id)throws MyException;
    AirPort updateAirPort (AirPort airPort)throws MyException;
    AirPort selectAirPortById(String id);

    PageVo<AirPort> page(Integer pageNumber, Integer pageSize, boolean order, String searchField, String keyword, String sortField);
}
